package ch.hearc.securiteSysteme.serie2.ex2ChallengeResponse.use;

import ch.hearc.securiteSysteme.serie2.ex2ChallengeResponse.client.socket.SocketClient;
import ch.hearc.securiteSysteme.serie2.ex2ChallengeResponse.client.swing.JFrameBorderLayout;

public class UseClient
	{
	
	/*------------------------------------------------------------------*\
	|*							Methodes Public							*|
	\*------------------------------------------------------------------*/
	
	public static void main(String[] args)
		{
		main();
		}
	
	public static void main()
		{
		SocketClient sc = new SocketClient();
		
		// A CHANGER IMPERATIVEMENT (ADRESSE IP DU SERVEUR)! 
		sc.setAddress("localhost");
		sc.setServerPort(40000);
		sc.connect();
		
		new JFrameBorderLayout(sc);
		}
	
	/*------------------------------------------------------------------*\
	|*							Methodes Private						*|
	\*------------------------------------------------------------------*/
	
	}
